﻿using System;
using System.Collections.Generic;
using System.ServiceModel; 
namespace NetDon.OA.Interface
{
    [ServiceContract]
    public interface IDictionaryManageService
    {
        #region Dictionary Entry Management
        [OperationContract]
        
        IEnumerable<DictionaryCategory> GetCategories();

        [OperationContract]
        
        DictionaryData AddEntry(Guid type, string name, Guid areaId);

        [OperationContract]
        
        Boolean ModifyEntry(DictionaryData entry);

        [OperationContract]
        
        Boolean MoveUpEntry(Guid type, Guid value);

        [OperationContract]
        
        Boolean MoveDownEntry(Guid type, Guid value);

        [OperationContract]
        
        Boolean RemoveEntry(Guid type, Guid value);
        #endregion
    }
}
